<script setup>

</script>

<template>
  <div class="container">
    <header class="header">
      <span @click="goHome" style="cursor: pointer;">XXX管理系统</span>
      <div class="head-icon">
        头像
      </div>
    </header>
    <div class="content">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  methods:{
    goHome(){
      this.$router.push({path:'/'})
    }
  }
}
</script>

<style scoped>
.header {
  display: flex;
  justify-content: space-between;

}
.container {
  height: 100%;
  width: 100%;
}
</style>


